﻿using NewLife;

namespace OpenAiClient.Models
{
    internal class ChatModelItem
    {
        public string? Model { get; set; }
        public int Value { get; set; }

        public static ChatModelItem CreateModel(ChatModel model)
        {
            return new ChatModelItem()
            {
                Model = model.GetDescription(),
                Value = (int)model
            };
        }
    }
}
